package com.test.kubernets.service;


import com.test.kubernets.dto.UserQueryDto;
import com.test.kubernets.util.wrapper.Wrapper;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "systemapi", url = "systemapi:1021", fallback = UserControllerClientFallback.class)
public interface UserControllerClient {
    /**
     * systemapi服务的数据接口
     */
    @RequestMapping(value = "/user/queryListPage")
    @ResponseBody
    Wrapper queryListPage(@RequestBody UserQueryDto userQueryDto);

}
